#include "prettyprint.h"

void splash(){
    fprintf(stderr,"************************************\n");
    fprintf(stderr,"NGSTAT-(c)2012-2013 Emanuele Raineri\n");
    fprintf(stderr,"build:$REV$ date:$Date: 2013-03-04 12:53:09 +0000 (Mon, 04 Mar 2013) $\n");
    fprintf(stderr,"based on : XXX\n");
    fprintf(stderr,"************************************\n");
}



void print_int_matrix(int *m,int rows, int cols){
    int i,j;
    for (i=0;i<rows;i++){
        for(j=0;j<cols;j++){
            fprintf(stdout,"%d ",m[i*cols+j]);     
        }
        fprintf(stdout,"\n");
    }
}


void print_float_matrix(float *m,int rows, int cols){
    int i,j;
    for (i=0;i<rows;i++){
        for(j=0;j<cols;j++){
            fprintf(stdout,"%g ",m[i*cols+j]);     
        }
        fprintf(stdout,"\n");
    }
}

